<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8" isELIgnored="false"%>
<%@ taglib uri="http://java.sun.com/jstl/core_rt" prefix="c"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head lang="en">
<meta charset="utf-8" />
<title>个人订单</title>
<link rel="stylesheet" type="text/css" href="o/css/public.css" />
<link rel="stylesheet" type="text/css" href="o/css/myorder.css" />
</head>
<body>

	<!------------------------------Bott------------------------------>
	<div class="Bott">
		<div class="wrapper clearfix">

			<div class="you fl">
				<div class="my clearfix">
					<h2 class="fl">我的订单</h2><a href="cart.do?c_id=${sessionScope.custom.c_id}" class="fl"><img src="o/img/gt1.png" />前往订餐车&gt;&gt;&gt;</a>
				</div>
				
				<div class="dlist clearfix">
					<ul class="fl clearfix" id="wa">
						<li><a href="order.do?c_id=${sessionScope.custom.c_id}">全部有效订单</a></li>
						<li><a href="orderBS.do?c_id=${sessionScope.custom.c_id}&OSid=1">待支付</a></li>
						<li><a href="orderBS.do?c_id=${sessionScope.custom.c_id}&OSid=2">待收货</a></li>
						<li><a href="orderBS.do?c_id=${sessionScope.custom.c_id}&OSid=3">已签收</a></li>
						<li><a href="orderBS.do?c_id=${sessionScope.custom.c_id}&OSid=4">已关闭</a></li>
					</ul>
					<form action="" method="get" class="fr clearfix">
						<input type="text" name="" id="" value=""
							placeholder="请输入商品名称、订单号" /> <input type="button" />
					</form>
				</div>
				<c:forEach items="${order}" var="exp">
					<div class="dkuang">
						<p class="one">${exp.OSname}</p>
						<div class="word clearfix">
							<ul class="fl clearfix">
								<li>${exp.SOtime}</li>
								<li>收货人:${exp.address_name}</li>
								<li>订单号:${exp.oid}</li>
								<li>在线支付</li>
							</ul>
							<p class="fr">
								订单金额：<span>${exp.oamount}</span>元
							</p>
						</div>
						<div class="shohou clearfix">
							<a href="" class="fl"><img src="o/img/kdd.png" /></a>
							<p class="fl">
								<a href="">收货地址:${exp.address_detail}</a><a href="">联系电话:${exp.address_phone}</a>
							</p>
							<p class="fr">
								<a href="">已付款</a> <a href="showOM.do?Oid=${exp.oid}">订单详情</a>
							</p>
						</div>
					</div>
				</c:forEach>
				<div class="fenye clearfix">
					<a href=""><img src="o/img/zuo.jpg" /></a> <a href="#">1</a> <a
						href=""><img src="o/img/you.jpg" /></a>
				</div>
			</div>
		</div>
	</div>

	<script src="js/jquery-1.12.4.min.js" type="text/javascript"
		charset="utf-8"></script>
	<script src="o/js/public.js" type="text/javascript" charset="utf-8"></script>
	<script src="o/js/user.js" type="text/javascript" charset="utf-8"></script>
</body>
</html>

